MapLibre Native for Android
MapLibre Native for Android
/
com.mapbox.mapboxsdk.constants
/
GeometryConstants
Geometry
Constants
open
class
GeometryConstants
Contains constants used throughout the sdk classes.
Properties
Properties
LATITUDE_SPAN
Link copied to clipboard
val
LATITUDE_SPAN
:
Double
=
180.0
This constant represents the latitude span when representing a geolocation.
LONGITUDE_SPAN
Link copied to clipboard
val
LONGITUDE_SPAN
:
Double
=
360.0
This constant represents the longitude span when representing a geolocation.
MAX_LATITUDE
Link copied to clipboard
val
MAX_LATITUDE
:
Double
=
90.0
This constant represents the highest latitude value available to represent a geolocation.
MAX_LONGITUDE
Link copied to clipboard
val
MAX_LONGITUDE
:
Double
=
1.7976931348623157E308
This constant represents the highest longitude value available to represent a geolocation.
MAX_MERCATOR_LATITUDE
Link copied to clipboard
val
MAX_MERCATOR_LATITUDE
:
Double
=
85.05112877980659
Maximum latitude value in Mercator projection.
MAX_WRAP_LONGITUDE
Link copied to clipboard
val
MAX_WRAP_LONGITUDE
:
Double
=
180.0
This constant represents the highest longitude value available to represent a wrapped geolocation.
MIN_LATITUDE
Link copied to clipboard
val
MIN_LATITUDE
:
Double
=
-90.0
This constant represents the lowest latitude value available to represent a geolocation.
MIN_LONGITUDE
Link copied to clipboard
val
MIN_LONGITUDE
:
Double
=
-1.7976931348623157E308
This constant represents the lowest longitude value available to represent a geolocation.
MIN_MERCATOR_LATITUDE
Link copied to clipboard
val
MIN_MERCATOR_LATITUDE
:
Double
=
-85.05112877980659
Minimum latitude value in Mercator projection.
MIN_WRAP_LONGITUDE
Link copied to clipboard
val
MIN_WRAP_LONGITUDE
:
Double
=
-180.0
This constant represents the lowest longitude value available to represent a wrapped geolocation.
RADIUS_EARTH_METERS
Link copied to clipboard
val
RADIUS_EARTH_METERS
:
Int
=
6378137
The
equatorial radius
value in meters